package com.jzit.networkproject

import retrofit2.http.*

/*
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
       Author   :  zhouxc
       Date     :  2022/10/26
       Time     :  17:11
    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
 */
interface UserInfo : BaseApi {

    @GET("/api/v1/aftersale/detail")
    suspend fun getAfterDetail(@Query("id") id: Int)


    @FormUrlEncoded
    @POST("/api/v1/aftersale/change_status")
    suspend fun changeStatus(
        @Field("age") age: Int,
        @Field("name") name: String
    )
}